const fs = require('fs');
const path = require('path');

exports.load = function(name) {
    let path_home = path.join(__dirname,'../');
    return JSON.parse(fs.readFileSync(`${path_home}/config/${name}.json`).toString());
}